// Dinge der Mine

func int B_GetSmallMineWorker (var int campid)
{
	B_SetCamp(campid);
	return camp.smallMineWorker;
};

func void B_SetSmallMineWorker (var int campid, var int value)
{
	B_SetCamp(campid);
	camp.smallMineWorker = value;
};

func int B_GetBigMinePeople (var int campid)
{
	B_SetCamp(campid);
	return camp.bigMinePeople;
};

func void B_SetBigMinePeople (var int campid, var int value)
{
	B_SetCamp(campid);
	camp.bigMinePeople = value;
};

func int B_GetBigMineGuards (var int campid)
{
	B_SetCamp(campid);
	return camp.bigMineGuards;
};

func int B_GetBigMineWorker (var int campid)
{
	B_SetCamp(campid);
	return camp.bigMineWorker;
};

func void B_SetBigMineGuards (var int campid, var int value)
{
	B_SetCamp(campid);
	camp.bigMineGuards = value;
	B_SetBigMinePeople(campid,B_GetBigMineWorker(campid)+B_GetBigMineGuards(campid));
};

func void B_SetBigMineWorker (var int campid, var int value)
{
	B_SetCamp(campid);
	camp.bigMineWorker = value;
	B_SetBigMinePeople(campid,B_GetBigMineWorker(campid)+B_GetBigMineGuards(campid));
};

func int B_GetBigMineActiveWorker (var int campid)
{
	B_SetCamp(campid);
	return camp.bigMineActiveWorker;
};

func void B_SetBigMineActiveWorker (var int campid, var int value)
{
	B_SetCamp(campid);
	camp.bigMineActiveWorker = value;
};